package com.hdu;

import com.hdu.mockService.annotation.RandomInt;
import com.hdu.mockService.annotation.RandomString;
import com.hdu.mockService.enums.CharType;
import lombok.Data;

@Data
public class Student {
    @RandomInt(min = 1, max = 1000)
    private int id;
    @RandomInt(min = 1, max = 20)
    private int age;
    @RandomInt(min = 1, max = 2)
    private int sex;
    @RandomString(minLength = 1, maxLength = 10, charTypes = {CharType.NUMBER,CharType.LOWER_CASE})
    private String name;
}
